Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming Filter #772

Open
wants to merge 1 commit into
base: dev/gfdl
Choose a base branch
from
Open

Conversation

c2xu
Copy link

@c2xu c2xu commented Dec 10, 2024

This is a major revision to the original PR (#675) of the streaming band-pass filter.

The filters and their target frequencies are no longer hard-coded. Instead, multiple filters with tidal or arbitrary frequencies as their target frequencies can be turned on. The filter names are specified in MOM_input and must consist of two letters/numbers. If the name of a filter is the same as the name of a tidal constituent, then the corresponding tidal frequency will be used as its target frequency. Otherwise, the user must specify the target frequency. In either case, the target frequency is specified by "FILTER_${FILTER_NAME}_OMEGA".

The restarting capability has also been implemented. Because the filtering is a point-wise operation, all variables are considered as fields, even if they are velocity components.

@c2xu
Copy link
Author

c2xu commented Dec 10, 2024

Also, while working on this PR, I encountered an issue (#773) related to creating restart files, which seems to be a bug to me.

@c2xu c2xu force-pushed the c2xu/streaming_filter branch 3 times, most recently from 5428fab to 70f8687 Compare December 12, 2024 01:27
Copy link

codecov bot commented Dec 12, 2024

Codecov Report

Attention: Patch coverage is 4.76190% with 60 lines in your changes missing coverage. Please review.

Project coverage is 37.19%. Comparing base (78a7936) to head (70f8687).
Report is 3 commits behind head on dev/gfdl.

Files with missing lines Patch % Lines
...parameterizations/lateral/MOM_streaming_filter.F90 0.00% 50 Missing ⚠️
src/core/MOM_barotropic.F90 23.07% 6 Missing and 4 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           dev/gfdl     #772      +/-   ##
============================================
+ Coverage     36.67%   37.19%   +0.51%     
============================================
  Files           278      288      +10     
  Lines         84300    85269     +969     
  Branches      15877    16020     +143     
============================================
+ Hits          30921    31715     +794     
- Misses        47549    47609      +60     
- Partials       5830     5945     +115     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

The filters and their target frequencies are no longer hard-coded.
Instead, multiple filters with tidal or arbitrary frequencies as
their target frequencies can be turned on. The filter names are
specified in MOM_input and must consist of two letters/numbers. If
the name of a filter is the same as the name of a tidal constituent,
then the corresponding tidal frequency will be used as its target
frequency. Otherwise, the user must specify the target frequency by
"FILTER_${FILTER_NAME}_OMEGA" in MOM_input.

The restarting capability has also been implemented. Because the
filtering is a point-wise operation, all variables are considered
as fields, even if they are velocity components.
@c2xu c2xu force-pushed the c2xu/streaming_filter branch from 70f8687 to ec33cf6 Compare December 12, 2024 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant